using System;
using System.Text;
using System.Data;
using System.Data.SqlClient;
using System.Data.Common;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel;
using System.Configuration;
using System.Xml;
using System.Xml.Serialization;
using SubSonic;
using SubSonic.Utilities;

//Generated on 18/07/2007 15:55:05 by rupert_bates

namespace OpenProject.DataObjects{
    /// <summary>
    /// Strongly-typed collection for the WorkItem class.
    /// </summary>
    [Serializable]
    public partial class WorkItemCollection : ActiveList<WorkItem, WorkItemCollection> 
    {       
        public WorkItemCollection() {}

    }

    /// <summary>
    /// This is an ActiveRecord class which wraps the WorkItem table.
    /// </summary>
    [Serializable]
    public partial class WorkItem : ActiveRecord<WorkItem>
    {
    
	    #region Default Settings
	    protected static void SetSQLProps() 
	    {
		    GetTableSchema();
	    }

	    #endregion
        #region Schema Accessor
	    public static TableSchema.Table Schema
        {
            get
            {
                if (BaseSchema == null)
                {
                    SetSQLProps();
                }

                return BaseSchema;
            }

        }

    	
        private static void GetTableSchema() 
	    {
            if(!IsSchemaInitialized)
            {
                //Schema declaration
				TableSchema.Table schema = new TableSchema.Table("WorkItem", TableType.Table, DataService.GetInstance("OpenProject"));
                schema.Columns = new TableSchema.TableColumnCollection();
                schema.SchemaName = @"dbo";
                //columns
                
                TableSchema.TableColumn colvarWorkItemId = new TableSchema.TableColumn(schema);
                colvarWorkItemId.ColumnName = "WorkItemId";
                colvarWorkItemId.DataType = DbType.Int32;
                colvarWorkItemId.MaxLength = 0;
                colvarWorkItemId.AutoIncrement = true;
                colvarWorkItemId.IsNullable = false;
                colvarWorkItemId.IsPrimaryKey = true;
                colvarWorkItemId.IsForeignKey = false;
                colvarWorkItemId.IsReadOnly = false;
                
                
                schema.Columns.Add(colvarWorkItemId);
                
                TableSchema.TableColumn colvarParentId = new TableSchema.TableColumn(schema);
                colvarParentId.ColumnName = "ParentId";
                colvarParentId.DataType = DbType.Int32;
                colvarParentId.MaxLength = 0;
                colvarParentId.AutoIncrement = false;
                colvarParentId.IsNullable = true;
                colvarParentId.IsPrimaryKey = false;
                colvarParentId.IsForeignKey = true;
                colvarParentId.IsReadOnly = false;
                
                
				colvarParentId.ForeignKeyTableName = "WorkItem";
                
                schema.Columns.Add(colvarParentId);
                
                TableSchema.TableColumn colvarItemCategoryId = new TableSchema.TableColumn(schema);
                colvarItemCategoryId.ColumnName = "ItemCategoryId";
                colvarItemCategoryId.DataType = DbType.Int32;
                colvarItemCategoryId.MaxLength = 0;
                colvarItemCategoryId.AutoIncrement = false;
                colvarItemCategoryId.IsNullable = false;
                colvarItemCategoryId.IsPrimaryKey = false;
                colvarItemCategoryId.IsForeignKey = true;
                colvarItemCategoryId.IsReadOnly = false;
                
                
				colvarItemCategoryId.ForeignKeyTableName = "ItemCategory";
                
                schema.Columns.Add(colvarItemCategoryId);
                
                TableSchema.TableColumn colvarTitle = new TableSchema.TableColumn(schema);
                colvarTitle.ColumnName = "Title";
                colvarTitle.DataType = DbType.String;
                colvarTitle.MaxLength = 100;
                colvarTitle.AutoIncrement = false;
                colvarTitle.IsNullable = false;
                colvarTitle.IsPrimaryKey = false;
                colvarTitle.IsForeignKey = false;
                colvarTitle.IsReadOnly = false;
                
                
                schema.Columns.Add(colvarTitle);
                
                TableSchema.TableColumn colvarStatusId = new TableSchema.TableColumn(schema);
                colvarStatusId.ColumnName = "StatusId";
                colvarStatusId.DataType = DbType.Int32;
                colvarStatusId.MaxLength = 0;
                colvarStatusId.AutoIncrement = false;
                colvarStatusId.IsNullable = false;
                colvarStatusId.IsPrimaryKey = false;
                colvarStatusId.IsForeignKey = true;
                colvarStatusId.IsReadOnly = false;
                
                
				colvarStatusId.ForeignKeyTableName = "Status";
                
                schema.Columns.Add(colvarStatusId);
                
                TableSchema.TableColumn colvarProjectId = new TableSchema.TableColumn(schema);
                colvarProjectId.ColumnName = "ProjectId";
                colvarProjectId.DataType = DbType.Int32;
                colvarProjectId.MaxLength = 0;
                colvarProjectId.AutoIncrement = false;
                colvarProjectId.IsNullable = false;
                colvarProjectId.IsPrimaryKey = false;
                colvarProjectId.IsForeignKey = true;
                colvarProjectId.IsReadOnly = false;
                
                
				colvarProjectId.ForeignKeyTableName = "Project";
                
                schema.Columns.Add(colvarProjectId);
                
                TableSchema.TableColumn colvarTimeEstimate = new TableSchema.TableColumn(schema);
                colvarTimeEstimate.ColumnName = "TimeEstimate";
                colvarTimeEstimate.DataType = DbType.Double;
                colvarTimeEstimate.MaxLength = 0;
                colvarTimeEstimate.AutoIncrement = false;
                colvarTimeEstimate.IsNullable = true;
                colvarTimeEstimate.IsPrimaryKey = false;
                colvarTimeEstimate.IsForeignKey = false;
                colvarTimeEstimate.IsReadOnly = false;
                
						colvarTimeEstimate.DefaultSetting = @"((0))";
				
                
                schema.Columns.Add(colvarTimeEstimate);
                
                TableSchema.TableColumn colvarTimeActual = new TableSchema.TableColumn(schema);
                colvarTimeActual.ColumnName = "TimeActual";
                colvarTimeActual.DataType = DbType.Double;
                colvarTimeActual.MaxLength = 0;
                colvarTimeActual.AutoIncrement = false;
                colvarTimeActual.IsNullable = true;
                colvarTimeActual.IsPrimaryKey = false;
                colvarTimeActual.IsForeignKey = false;
                colvarTimeActual.IsReadOnly = false;
                
                
                schema.Columns.Add(colvarTimeActual);
                
                TableSchema.TableColumn colvarDescription = new TableSchema.TableColumn(schema);
                colvarDescription.ColumnName = "Description";
                colvarDescription.DataType = DbType.String;
                colvarDescription.MaxLength = -1;
                colvarDescription.AutoIncrement = false;
                colvarDescription.IsNullable = true;
                colvarDescription.IsPrimaryKey = false;
                colvarDescription.IsForeignKey = false;
                colvarDescription.IsReadOnly = false;
                
                
                schema.Columns.Add(colvarDescription);
                
                TableSchema.TableColumn colvarCreatedOn = new TableSchema.TableColumn(schema);
                colvarCreatedOn.ColumnName = "CreatedOn";
                colvarCreatedOn.DataType = DbType.DateTime;
                colvarCreatedOn.MaxLength = 0;
                colvarCreatedOn.AutoIncrement = false;
                colvarCreatedOn.IsNullable = false;
                colvarCreatedOn.IsPrimaryKey = false;
                colvarCreatedOn.IsForeignKey = false;
                colvarCreatedOn.IsReadOnly = false;
                
						colvarCreatedOn.DefaultSetting = @"(getdate())";
				
                
                schema.Columns.Add(colvarCreatedOn);
                
                TableSchema.TableColumn colvarImportanceId = new TableSchema.TableColumn(schema);
                colvarImportanceId.ColumnName = "ImportanceId";
                colvarImportanceId.DataType = DbType.Int32;
                colvarImportanceId.MaxLength = 0;
                colvarImportanceId.AutoIncrement = false;
                colvarImportanceId.IsNullable = true;
                colvarImportanceId.IsPrimaryKey = false;
                colvarImportanceId.IsForeignKey = true;
                colvarImportanceId.IsReadOnly = false;
                
                
				colvarImportanceId.ForeignKeyTableName = "Importance";
                
                schema.Columns.Add(colvarImportanceId);
                
                TableSchema.TableColumn colvarCreatedBy = new TableSchema.TableColumn(schema);
                colvarCreatedBy.ColumnName = "CreatedBy";
                colvarCreatedBy.DataType = DbType.Int32;
                colvarCreatedBy.MaxLength = 0;
                colvarCreatedBy.AutoIncrement = false;
                colvarCreatedBy.IsNullable = false;
                colvarCreatedBy.IsPrimaryKey = false;
                colvarCreatedBy.IsForeignKey = true;
                colvarCreatedBy.IsReadOnly = false;
                
                
				colvarCreatedBy.ForeignKeyTableName = "UserMembership";
                
                schema.Columns.Add(colvarCreatedBy);
                
                TableSchema.TableColumn colvarAssignedTo = new TableSchema.TableColumn(schema);
                colvarAssignedTo.ColumnName = "AssignedTo";
                colvarAssignedTo.DataType = DbType.Int32;
                colvarAssignedTo.MaxLength = 0;
                colvarAssignedTo.AutoIncrement = false;
                colvarAssignedTo.IsNullable = true;
                colvarAssignedTo.IsPrimaryKey = false;
                colvarAssignedTo.IsForeignKey = true;
                colvarAssignedTo.IsReadOnly = false;
                
                
				colvarAssignedTo.ForeignKeyTableName = "UserMembership";
                
                schema.Columns.Add(colvarAssignedTo);
                
                TableSchema.TableColumn colvarCompletedBy = new TableSchema.TableColumn(schema);
                colvarCompletedBy.ColumnName = "CompletedBy";
                colvarCompletedBy.DataType = DbType.Int32;
                colvarCompletedBy.MaxLength = 0;
                colvarCompletedBy.AutoIncrement = false;
                colvarCompletedBy.IsNullable = true;
                colvarCompletedBy.IsPrimaryKey = false;
                colvarCompletedBy.IsForeignKey = true;
                colvarCompletedBy.IsReadOnly = false;
                
                
				colvarCompletedBy.ForeignKeyTableName = "UserMembership";
                
                schema.Columns.Add(colvarCompletedBy);
                
                TableSchema.TableColumn colvarCompletedOn = new TableSchema.TableColumn(schema);
                colvarCompletedOn.ColumnName = "CompletedOn";
                colvarCompletedOn.DataType = DbType.DateTime;
                colvarCompletedOn.MaxLength = 0;
                colvarCompletedOn.AutoIncrement = false;
                colvarCompletedOn.IsNullable = true;
                colvarCompletedOn.IsPrimaryKey = false;
                colvarCompletedOn.IsForeignKey = false;
                colvarCompletedOn.IsReadOnly = false;
                
                
                schema.Columns.Add(colvarCompletedOn);
                
                TableSchema.TableColumn colvarPhaseId = new TableSchema.TableColumn(schema);
                colvarPhaseId.ColumnName = "PhaseId";
                colvarPhaseId.DataType = DbType.Int32;
                colvarPhaseId.MaxLength = 0;
                colvarPhaseId.AutoIncrement = false;
                colvarPhaseId.IsNullable = true;
                colvarPhaseId.IsPrimaryKey = false;
                colvarPhaseId.IsForeignKey = true;
                colvarPhaseId.IsReadOnly = false;
                
                
				colvarPhaseId.ForeignKeyTableName = "Phase";
                
                schema.Columns.Add(colvarPhaseId);
                
                BaseSchema = schema;
                //add this schema to the provider
                //so we can query it later
                DataService.Providers["OpenProject"].AddSchema("WorkItem",schema);
            }

        }

        #endregion
        
        #region Query Accessor
	    public static Query CreateQuery()
	    {
		    return new Query(Schema);
	    }

	    #endregion
	    
	    #region .ctors
	    public WorkItem()
	    {
            SetSQLProps();
            SetDefaults();
            MarkNew();
        }

        
        public WorkItem(bool useDatabaseDefaults)
	    {
		    SetSQLProps();
		    if(useDatabaseDefaults)
		    {
				ForceDefaults();
			}

			MarkNew();
	    }

	    public WorkItem(object keyID)
	    {
		    SetSQLProps();
            SetDefaults();
		    LoadByKey(keyID);
	    }

    	 
	    public WorkItem(string columnName, object columnValue)
        {
            SetSQLProps();
            SetDefaults();
            LoadByParam(columnName,columnValue);
        }

        
	    #endregion
	    
	    #region Props
	    
          
        [XmlAttribute("WorkItemId")]
        public int WorkItemId 
	    {
		    get { return GetColumnValue<int>("WorkItemId"); }

            set 
		    {
			    SetColumnValue("WorkItemId", value);
            }

        }

	      
        [XmlAttribute("ParentId")]
        public int? ParentId 
	    {
		    get { return GetColumnValue<int?>("ParentId"); }

            set 
		    {
			    SetColumnValue("ParentId", value);
            }

        }

	      
        [XmlAttribute("ItemCategoryId")]
        public int ItemCategoryId 
	    {
		    get { return GetColumnValue<int>("ItemCategoryId"); }

            set 
		    {
			    SetColumnValue("ItemCategoryId", value);
            }

        }

	      
        [XmlAttribute("Title")]
        public string Title 
	    {
		    get { return GetColumnValue<string>("Title"); }

            set 
		    {
			    SetColumnValue("Title", value);
            }

        }

	      
        [XmlAttribute("StatusId")]
        public int StatusId 
	    {
		    get { return GetColumnValue<int>("StatusId"); }

            set 
		    {
			    SetColumnValue("StatusId", value);
            }

        }

	      
        [XmlAttribute("ProjectId")]
        public int ProjectId 
	    {
		    get { return GetColumnValue<int>("ProjectId"); }

            set 
		    {
			    SetColumnValue("ProjectId", value);
            }

        }

	      
        [XmlAttribute("TimeEstimate")]
        public double? TimeEstimate 
	    {
		    get { return GetColumnValue<double?>("TimeEstimate"); }

            set 
		    {
			    SetColumnValue("TimeEstimate", value);
            }

        }

	      
        [XmlAttribute("TimeActual")]
        public double? TimeActual 
	    {
		    get { return GetColumnValue<double?>("TimeActual"); }

            set 
		    {
			    SetColumnValue("TimeActual", value);
            }

        }

	      
        [XmlAttribute("Description")]
        public string Description 
	    {
		    get { return GetColumnValue<string>("Description"); }

            set 
		    {
			    SetColumnValue("Description", value);
            }

        }

	      
        [XmlAttribute("CreatedOn")]
        public DateTime CreatedOn 
	    {
		    get { return GetColumnValue<DateTime>("CreatedOn"); }

            set 
		    {
			    SetColumnValue("CreatedOn", value);
            }

        }

	      
        [XmlAttribute("ImportanceId")]
        public int? ImportanceId 
	    {
		    get { return GetColumnValue<int?>("ImportanceId"); }

            set 
		    {
			    SetColumnValue("ImportanceId", value);
            }

        }

	      
        [XmlAttribute("CreatedBy")]
        public int CreatedBy 
	    {
		    get { return GetColumnValue<int>("CreatedBy"); }

            set 
		    {
			    SetColumnValue("CreatedBy", value);
            }

        }

	      
        [XmlAttribute("AssignedTo")]
        public int? AssignedTo 
	    {
		    get { return GetColumnValue<int?>("AssignedTo"); }

            set 
		    {
			    SetColumnValue("AssignedTo", value);
            }

        }

	      
        [XmlAttribute("CompletedBy")]
        public int? CompletedBy 
	    {
		    get { return GetColumnValue<int?>("CompletedBy"); }

            set 
		    {
			    SetColumnValue("CompletedBy", value);
            }

        }

	      
        [XmlAttribute("CompletedOn")]
        public DateTime? CompletedOn 
	    {
		    get { return GetColumnValue<DateTime?>("CompletedOn"); }

            set 
		    {
			    SetColumnValue("CompletedOn", value);
            }

        }

	      
        [XmlAttribute("PhaseId")]
        public int? PhaseId 
	    {
		    get { return GetColumnValue<int?>("PhaseId"); }

            set 
		    {
			    SetColumnValue("PhaseId", value);
            }

        }

	    
	    #endregion
	    
	    
	    #region PrimaryKey Methods
	    
		public OpenProject.DataObjects.WorkItemCollection ChildWorkItemRecords
		{
			get
			{
				return new OpenProject.DataObjects.WorkItemCollection().Where(WorkItem.Columns.ParentId, WorkItemId).Load();
			}

		}

		#endregion
		
	 	
			
	    
	    
	    
	    #region ForeignKey Properties
	    
        /// <summary>
        /// Returns a Importance ActiveRecord object related to this WorkItem
        /// 
        /// </summary>
	    public OpenProject.DataObjects.Importance Importance
        {
	        get { return OpenProject.DataObjects.Importance.FetchByID(this.ImportanceId); }

	        set
	        {
	        	SetColumnValue("ImportanceId", value.ImportanceId);
		        //SetColumnValue("ImportanceId", value.ImportanceId);
	        }

        }

	    
	    
        /// <summary>
        /// Returns a ItemCategory ActiveRecord object related to this WorkItem
        /// 
        /// </summary>
	    public OpenProject.DataObjects.ItemCategory ItemCategory
        {
	        get { return OpenProject.DataObjects.ItemCategory.FetchByID(this.ItemCategoryId); }

	        set
	        {
	        	SetColumnValue("ItemCategoryId", value.ItemCategoryId);
		        //SetColumnValue("ItemCategoryId", value.ItemCategoryId);
	        }

        }

	    
	    
        /// <summary>
        /// Returns a UserMembership ActiveRecord object related to this WorkItem
        /// 
        /// </summary>
	    public OpenProject.DataObjects.UserMembership UserMembership
        {
	        get { return OpenProject.DataObjects.UserMembership.FetchByID(this.CreatedBy); }

	        set
	        {
	        	SetColumnValue("CreatedBy", value.UserId);
		        //SetColumnValue("CreatedBy", value.UserId);
	        }

        }

	    
	    
        /// <summary>
        /// Returns a UserMembership ActiveRecord object related to this WorkItem
        /// 
        /// </summary>
	    public OpenProject.DataObjects.UserMembership UserMembershipToAssignedTo
        {
	        get { return OpenProject.DataObjects.UserMembership.FetchByID(this.AssignedTo); }

	        set
	        {
	        	SetColumnValue("AssignedTo", value.UserId);
		        //SetColumnValue("AssignedTo", value.UserId);
	        }

        }

	    
	    
        /// <summary>
        /// Returns a UserMembership ActiveRecord object related to this WorkItem
        /// 
        /// </summary>
	    public OpenProject.DataObjects.UserMembership UserMembershipToCompletedBy
        {
	        get { return OpenProject.DataObjects.UserMembership.FetchByID(this.CompletedBy); }

	        set
	        {
	        	SetColumnValue("CompletedBy", value.UserId);
		        //SetColumnValue("CompletedBy", value.UserId);
	        }

        }

	    
	    
        /// <summary>
        /// Returns a Phase ActiveRecord object related to this WorkItem
        /// 
        /// </summary>
	    public OpenProject.DataObjects.Phase Phase
        {
	        get { return OpenProject.DataObjects.Phase.FetchByID(this.PhaseId); }

	        set
	        {
	        	SetColumnValue("PhaseId", value.PhaseId);
		        //SetColumnValue("PhaseId", value.PhaseId);
	        }

        }

	    
	    
        /// <summary>
        /// Returns a Project ActiveRecord object related to this WorkItem
        /// 
        /// </summary>
	    public OpenProject.DataObjects.Project Project
        {
	        get { return OpenProject.DataObjects.Project.FetchByID(this.ProjectId); }

	        set
	        {
	        	SetColumnValue("ProjectId", value.ProjectId);
		        //SetColumnValue("ProjectId", value.ProjectId);
	        }

        }

	    
	    
        /// <summary>
        /// Returns a Status ActiveRecord object related to this WorkItem
        /// 
        /// </summary>
	    public OpenProject.DataObjects.Status Status
        {
	        get { return OpenProject.DataObjects.Status.FetchByID(this.StatusId); }

	        set
	        {
	        	SetColumnValue("StatusId", value.StatusId);
		        //SetColumnValue("StatusId", value.StatusId);
	        }

        }

	    
	    
        /// <summary>
        /// Returns a WorkItem ActiveRecord object related to this WorkItem
        /// 
        /// </summary>
	    public OpenProject.DataObjects.WorkItem ParentWorkItem
        {
	        get { return OpenProject.DataObjects.WorkItem.FetchByID(this.ParentId); }

	        set
	        {
	        	SetColumnValue("ParentId", value.WorkItemId);
		        //SetColumnValue("ParentId", value.WorkItemId);
	        }

        }

	    
	    
	    #endregion
	    
	    
	    
	    //no ManyToMany tables defined (0)
	    
	    #region ObjectDataSource support
    	
    	
	    /// <summary>
	    /// Inserts a record, can be used with the Object Data Source
	    /// </summary>
	    public static void Insert(int? varParentId,int varItemCategoryId,string varTitle,int varStatusId,int varProjectId,double? varTimeEstimate,double? varTimeActual,string varDescription,DateTime varCreatedOn,int? varImportanceId,int varCreatedBy,int? varAssignedTo,int? varCompletedBy,DateTime? varCompletedOn,int? varPhaseId)
	    {
		    WorkItem item = new WorkItem();
		    
            item.ParentId = varParentId;
            
            item.ItemCategoryId = varItemCategoryId;
            
            item.Title = varTitle;
            
            item.StatusId = varStatusId;
            
            item.ProjectId = varProjectId;
            
            item.TimeEstimate = varTimeEstimate;
            
            item.TimeActual = varTimeActual;
            
            item.Description = varDescription;
            
            item.CreatedOn = varCreatedOn;
            
            item.ImportanceId = varImportanceId;
            
            item.CreatedBy = varCreatedBy;
            
            item.AssignedTo = varAssignedTo;
            
            item.CompletedBy = varCompletedBy;
            
            item.CompletedOn = varCompletedOn;
            
            item.PhaseId = varPhaseId;
            
	    
		    if (System.Web.HttpContext.Current != null)
			    item.Save(System.Web.HttpContext.Current.User.Identity.Name);
		    else
			    item.Save(System.Threading.Thread.CurrentPrincipal.Identity.Name);
	    }

    	
	    /// <summary>
	    /// Updates a record, can be used with the Object Data Source
	    /// </summary>
	    public static void Update(int varWorkItemId,int? varParentId,int varItemCategoryId,string varTitle,int varStatusId,int varProjectId,double? varTimeEstimate,double? varTimeActual,string varDescription,DateTime varCreatedOn,int? varImportanceId,int varCreatedBy,int? varAssignedTo,int? varCompletedBy,DateTime? varCompletedOn,int? varPhaseId)
	    {
		    WorkItem item = new WorkItem();
		    
                item.WorkItemId = varWorkItemId;
				
                item.ParentId = varParentId;
				
                item.ItemCategoryId = varItemCategoryId;
				
                item.Title = varTitle;
				
                item.StatusId = varStatusId;
				
                item.ProjectId = varProjectId;
				
                item.TimeEstimate = varTimeEstimate;
				
                item.TimeActual = varTimeActual;
				
                item.Description = varDescription;
				
                item.CreatedOn = varCreatedOn;
				
                item.ImportanceId = varImportanceId;
				
                item.CreatedBy = varCreatedBy;
				
                item.AssignedTo = varAssignedTo;
				
                item.CompletedBy = varCompletedBy;
				
                item.CompletedOn = varCompletedOn;
				
                item.PhaseId = varPhaseId;
				
		    item.IsNew = false;
		    if (System.Web.HttpContext.Current != null)
			    item.Save(System.Web.HttpContext.Current.User.Identity.Name);
		    else
			    item.Save(System.Threading.Thread.CurrentPrincipal.Identity.Name);
	    }

	    #endregion
	    #region Columns Struct
	    public struct Columns
	    {
		    
		    
            public static string WorkItemId = @"WorkItemId";
            
            public static string ParentId = @"ParentId";
            
            public static string ItemCategoryId = @"ItemCategoryId";
            
            public static string Title = @"Title";
            
            public static string StatusId = @"StatusId";
            
            public static string ProjectId = @"ProjectId";
            
            public static string TimeEstimate = @"TimeEstimate";
            
            public static string TimeActual = @"TimeActual";
            
            public static string Description = @"Description";
            
            public static string CreatedOn = @"CreatedOn";
            
            public static string ImportanceId = @"ImportanceId";
            
            public static string CreatedBy = @"CreatedBy";
            
            public static string AssignedTo = @"AssignedTo";
            
            public static string CompletedBy = @"CompletedBy";
            
            public static string CompletedOn = @"CompletedOn";
            
            public static string PhaseId = @"PhaseId";
            
	    }

	    #endregion
    }

}

